package com.kashow.bean.unread;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by yybs o 16/11/5.
 */

public class MessageItem implements MultiItemEntity {
    private int icon;
    private String title;
    private int message;

    public MessageItem(int icon, String title) {
        this.icon = icon;
        this.title = title;
    }

    public MessageItem(int icon, String title, int message) {
        this.icon = icon;
        this.title = title;
        this.message = message;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getMessage() {
        return message;
    }

    public void setMessage(int message) {
        this.message = message;
    }

    @Override
    public int getItemType() {
        return icon;
    }
}
